/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package core.pojos;

import java.util.Date;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 *
 * @author Royal
 */

@JsonIgnoreProperties(ignoreUnknown = true)
public class OneDriveItem {

public String id;

public String type;

public String name;

public String description;

public Object parent_id;

public Integer size;

public String upload_location;

public Date updated_time;


    public boolean isDir() {
        if(type == "folder"){
        return true;
        }
        return false;
    }
}
